package com.molin.OOP.TestExtends.test2;

public class Zi extends Fu {
    public int a = 20;

    public void method() {
        int a=30;
        //打印子类的a
        System.out.println(this.a);
        //打印父类的a
        System.out.println(super.a);

        super.show();

    }
    public void show(){
        System.out.println("子类show方法");
    }
}
